package com.yjc.drygoods.order.feign;

import com.yjc.common.to.SkuInfoTo;
import com.yjc.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author yjc
 * @create 2022-10-02 12:11
 */
@FeignClient("drygoods-search")
public interface SearchFeignService {
    @PostMapping("/search/save/update/saleCount")
    R updateEsSaleCount(@RequestBody List<SkuInfoTo> skuInfos);
}
